package com.pysoft.safe.service;

import java.util.List;
import java.util.Map;

import com.pysoft.safe.dao.entity.RoleEntity;

public interface RoleService {
	public List<RoleEntity> query(Map<String, Object> paramMap);

	public RoleEntity getRole(String id);

	public RoleEntity addRole(String pid);

	public void modifyRole(RoleEntity entity);

	public void removeRole(String id);
	
	public void relatingResource(String roleId, List<String> resourceIdList);
	public void cancelRelatingResource(String roleId);
	
	public List<String> getRelatingResources(String roleId);
}
